
const state = {
  // 配置的 systemList (配置权限的情况)
  curRouteInfo:JSON.parse(localStorage.getItem("curRouteInfo")) || {},
}

const mutations = {
  setCurRouteInfo: (state, curRouteInfo) => {
    console.log("setCurRouteInfo,",curRouteInfo)
    state.curRouteInfo = curRouteInfo
  },
  clearCurRouteInfo:(state)=>{
    state.curRouteInfo = {}
  }
}

const actions = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

